package com.atguigu.stgy.model.enums;

import com.atguigu.stgy.model.base.BaseTypeEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum FacilityTypeEnum implements BaseTypeEnum {
    APARTMENT(1,"公寓配套"),
    ROOM(2,"房间配套");
    @EnumValue
    @JsonValue
    private Integer type;
    private String name;

    private FacilityTypeEnum(Integer type , String name){
        this.type = type;
        this.name = name;
    }
}
